TAGs: Rational exponents calculator